.Q-Toolbar{
    box-sizing: border-box;
    white-space: nowrap;
}
.Q-Toolbar>div:not(:last-child){
    margin-right: 5px;
}

.btn-group {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.btn-group > .btn {
    margin: 0px -1px;
    position: relative;
    float: left;
    color: #333;
    background-color: #fff;
    border: 1px solid #ccc;
    text-align: center;
    cursor: pointer;
    /*background-image: none;*/
    user-select: none;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8em;
    /*display: inline-block;*/
    display: flex;
    align-items: center !important;
    min-height: 20px;
}

.btn-group > .btn > .label-with-icon {
    margin-left: .4rem;
}

.btn-group > .btn:first-child {
    margin-left: 0;
}

.btn-group > .btn:first-child:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.btn-group > .btn:last-child {
    margin-left: 0;
}

.btn-group > .btn:last-child:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.btn-group > .btn:not(:first-child):not(:last-child) {
    border-radius: 0;
}
.btn {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
    display: inline-block;
    vertical-align: middle;
    background-color: #fff;
    border: 1px solid #ccc;
    text-align: center;
    cursor: pointer;
}
.btn:active, .btn.active {
    background-color: #ebebeb;
    /*-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);*/
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    /*z-index: 2;*/
}

.btn:hover, .btn:focus {
    color: #333;
    background-color: #ebebeb;
    border-color: #adadad;
    /*z-index: 2;*/
}

.input-group .form-control {
    position: relative;
    /*z-index: 2;*/
    float: left;
    width: 100%;
    margin-bottom: 0;
    display: table-cell;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.input-group{
    position: relative;
    display: table;
    border-collapse: separate;
    box-sizing: border-box;
}
.input-group-btn{
    position: relative;
    font-size: 0;
    white-space: nowrap;
}
.toolbar>.btn:not(:last-child), .toolbar>.btn-group:not(:last-child) {
    margin-right: 5px;
}

/*重新设置*/
.Q-Toolbar>div{
    display: inline-block;
    vertical-align: middle;
}
.Q-Toolbar>.Q-Search>div{
    display: table;
}
.Q-Toolbar>.Q-Search>div>*{
    display: table-cell;
    vertical-align: middle;
}
.Q-Toolbar>.Q-Search input{
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.Q-Toolbar>.Q-Search .btn{
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    margin-left: -1px;
}
.Q-Toolbar input:focus {
    border-color: #66afe9;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075), 0 0 8px rgba(102,175,233,0.6);
}

#toolbar {
    position: relative;
}
#toolbar .btn, #toolbar .btn-group {
    margin-right: 5px;
}

#toolbar .btn-group .btn {
    margin: 0px -1px;
}

/*icons*/
.q-icon {
    background-image: url(./icons-32.png);
    background-size: 479px 16px;
}
.toolbar-add{ background-position: 0px 0px; width: 16px; height: 16px; }
.toolbar-default{ background-position: -18px 0px; width: 16px; height: 16px; }
.toolbar-download{ background-position: -37px 0px; width: 16px; height: 16px; }
.toolbar-edge_VH{ background-position: -55px 0px; width: 16px; height: 16px; }
.toolbar-edge{ background-position: -74px 0px; width: 16px; height: 16px; }
.toolbar-expand{ background-position: -92px 0px; width: 16px; height: 16px; }
.toolbar-json{ background-position: -111px 0px; width: 16px; height: 16px; }
.toolbar-line{ background-position: -129px 0px; width: 16px; height: 16px; }
.toolbar-magnifying_glass{ background-position: -148px 0px; width: 16px; height: 16px; }
.toolbar-max{ background-position: -166px 0px; width: 16px; height: 16px; }
.toolbar-new_window{ background-position: -185px 0px; width: 16px; height: 16px; }
.toolbar-new{ background-position: -203px 0px; width: 16px; height: 16px; }
.toolbar-overview{ background-position: -222px 0px; width: 16px; height: 16px; }
.toolbar-pan{ background-position: -240px 0px; width: 16px; height: 16px; }
.toolbar-polygon{ background-position: -259px 0px; width: 16px; height: 16px; }
.toolbar-print{ background-position: -277px 0px; width: 16px; height: 16px; }
.toolbar-rectangle_selection{ background-position: -296px 0px; width: 16px; height: 16px; }
.toolbar-remove{ background-position: -314px 0px; width: 16px; height: 16px; }
.toolbar-save{ background-position: -333px 0px; width: 16px; height: 16px; }
.toolbar-search{ background-position: -351px 0px; width: 16px; height: 16px; }
.toolbar-update{ background-position: -370px 0px; width: 16px; height: 16px; }
.toolbar-upload{ background-position: -388px 0px; width: 16px; height: 16px; }
.toolbar-zoom_overview{ background-position: -407px 0px; width: 16px; height: 16px; }
.toolbar-zoomin{ background-position: -425px 0px; width: 16px; height: 16px; }
.toolbar-zoomout{ background-position: -444px 0px; width: 16px; height: 16px; }
.toolbar-zoomreset{ background-position: -462px 0px; width: 16px; height: 16px; }



/*input file*/
.btn-file {
    position: relative;
    overflow: hidden;
}

.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    background-color: red;
    cursor: inherit;
    display: block;
}

input[readonly] {
    background-color: white !important;
    cursor: text !important;
}

.form-control{
    display: table-cell;
    height: 30px;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
}

* {
    box-sizing: border-box;
}


.btn{
    height: 30px;
}
